#include <iostream>
using namespace std;

int calc(int x, char c,int y)
{
	switch(c)
	{
		case '+':
			return x + y;
		case '-':
			return x - y;
		case '*':
			return x * y;
		case '/':
			return x / y;
		case '%':
			return x % y;	
	}
 } 
int main()
{
	int a,b;
	char c;
	cin >> a >> c >> b;
	int r = calc(a,c,b);
	cout << r << endl;
	return 0;
}
